<ul class="nav navbar-nav navbar-right" ng-if="currentUser.username">
    <li><a ng-click="logOut()" translate="directives.log.out.link.label"></a></li>
</ul>